import React, { Component } from 'react'
import "./index.css"
export default class BButton extends Component {
  render() {
    const { type, onClick, size } = this.props
    return <button onClick={onClick} className={'btn ' + ' btn-'+type + " btn-"+size } >  {this.props.children} </button>
  }
}
